package com.wish.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

/**
 * <p>
 * 楼盘配套表
 * </p>
 *
 * @author 刘郑欣
 * @since 2022-03-27
 */
@TableName("tb_premises_facility")
@ApiModel(value = "PremisesFacility对象", description = "楼盘配套表")
public class PremisesFacility implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer premisesId;

    private String title;

    private String content;

    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getPremisesId() {
        return premisesId;
    }

    public void setPremisesId(Integer premisesId) {
        this.premisesId = premisesId;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "PremisesFacility{" +
            "id=" + id +
            ", premisesId=" + premisesId +
            ", title=" + title +
            ", content=" + content +
            ", type=" + type +
        "}";
    }
}
